package com.hwj.service;

import com.github.pagehelper.PageInfo;
import com.hwj.entity.User;
import org.springframework.security.core.userdetails.UserDetailsService;

import java.util.List;

public interface UserInfoService extends UserDetailsService {
    User doLogin(User user);
    User queryById(Long id);
    User queryByName(String username);
    int insertSelective(User record);
    PageInfo<User> queryByNamePhoneEmail(User user,Integer pageNum,Integer pageSize);
    int updateByPrimaryKeySelective(User record);
    int deleteByPrimaryKey(Long id);


    List<User> getExcellentUser();
}
